home *** CD-ROM | disk | FTP | other *** search
/ Family Fun / Family Fun.iso / joke1 / jokes_h / hakawath.jok < prev    next >
Text File  |  1992-01-07  |  13KB  |  369 lines

  1. From sinclair@cs.glasgow.ac.uk Sat Apr  1 08:38:48 1989
  2. From: sinclair@cs.glasgow.ac.uk (Duncan Sinclair)
  3. Subject: The Song Of Hakawatha
  4.  
  5.  
  6. Although long, this is worth saving and printing out.
  7.  
  8. This is a text translation of a Macintosh WriteNow file.
  9. Some of my peers may remember this from the wall in our 2nd year lab
  10. two years ago.
  11.  
  12. Enjoy!
  13.  
  14.  
  15.  
  16.                       The Song Of Hakawatha
  17.  
  18.                             F. X. Reid
  19.  
  20.                         Poet and Tragedian
  21.  
  22.  
  23.  
  24.                            Introduction
  25.  
  26.   Longfellow's poem 'Hiawatha' (which the following verses somewhat
  27. resemble) is a celebration of the incorrigibly primitive, framed in an
  28. appropriately interminable and monotonously scanned sequence of lines.
  29. So monotonous is the metre, indeed, that it renders the poem the most
  30. easy to parody in this or any other language. So easy, in fact, that my
  31. distinguished predecessor, the amateur logician and nude photographer,
  32. the Rev. 'Chuck' L. Dodgeson prefaced his pastiche of it with an
  33. apology for the lack of difficulty it had involved. cld (as UNIX* would
  34. probably call him) used the form to present a stark account of the
  35. ritualistic element of Victorian portrait photography.  It is my
  36. intention to combine the two - the primitive and the ritualistic - to
  37. describe the modern Shaman* namely the system hacker.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. * Some may feel that this word contains superfluous letters.
  50.  
  51.  
  52.  
  53.  
  54.         Part I
  55.  
  56.         The Logging-in of Hakawatha
  57.  
  58.  
  59.         First, he sat and faced at the console
  60.         Faced the glowing, humming console
  61.         Typed his login at the keyboard
  62.         Typed his password (fourteen letters)
  63.         Waited till the system answered
  64.         Waited long and cursed its slowness
  65.         (Oh that irritating slowness -
  66.         Like a mollusc with lumbago)
  67.         Waited for what seemed like hours
  68.         Till the operating system
  69.         Printed out the latest whinings
  70.         From the man called superuser -
  71.         Moaning that some third year students
  72.         Played adventure games at lunchtimes,
  73.         Moaning that the Disc was nearly
  74.         (Very nearly) full to bursting,
  75.         Growling that he wouldn't take it
  76.         Screaming that he'd get his own back
  77.         By deleting peoples' discfiles.
  78.         Next, came Hakawatha's 'fortune'
  79.         (Didn't find it very funny)
  80.         Then from mailer took a letter
  81.         From a fellow network hacker
  82.         (Who had penetrated ARPA
  83.         All the way to Greenham Common -
  84.         Though his prowling through the filestore
  85.         Hadn't pleased the US Airforce -
  86.         So this friend, this network hacker
  87.         Had to flee to Argentina
  88.         Where he works on simulations
  89.         Simulations of their army's
  90.         Capture of the Falkland Islands).
  91.         Finally, my Hakawatha
  92.         Started to type in a program.
  93.         First, he thought for many minutes
  94.         What the Devil he should call it
  95.         So that later, he'd remember
  96.         What it did and why he wrote it,
  97.         Though for many, many minutes,
  98.         Thought too long, because the system
  99.         Timed him out for doing nothing
  100.         Timed him out and warned him sternly
  101.         (Like an irate bus inspector
  102.         While you fumble for your ticket
  103.         When you could have sworn you'd put it
  104.         Safely in an inside pocket).
  105.         So the wretched Hakawatha
  106.         Had to start from the beginning
  107.         Type the login and the password -
  108.         Found the system even slower
  109.         Even slower than the first time
  110.         (Just as though some evil spirit
  111.         Had reprogrammed all of UNIX
  112.         In the language LISP or OCCAM -
  113.         Which among the cognosenti
  114.         Are not fames for running quickly
  115.         Rather for their ponderous slowness
  116.         Like a third year CS student
  117.         Trying to make out a theorem
  118.         Such as that of Church and Rosser).
  119.         After many, many minutes
  120.         After risking death from boredom
  121.         On the screen, my Hakawatha,
  122.         Saw a message from the Network
  123.         Saying there were no free consoles,
  124.         Telling him to just forget it,
  125.         Telling him to come back later
  126.         (Say, two-thirty in the morning
  127.         Preferably a Sunday morning,
  128.         Sunday, in the long vacation).
  129.         But at this, my Hakawatha
  130.         Spoke in language full of fury:
  131.         "I would rather write in COBOL
  132.         On a Sinclair ZX80"
  133.         Thus, the Gods heard Hakawatha
  134.         Heard the thunder of his anger
  135.         Heard him damn the superuser
  136.         To a post in Social Science
  137.         Heard him damn the network to be
  138.         Slowly boiled in caustic soda
  139.         Heard him curse the sort of people
  140.         Who use LISP instead of Ada)
  141.         (Ada is a complex language
  142.         Copyright, Defence Department
  143.         It has got a formal syntax
  144.         Rather longer than the Bible
  145.         But semantically there's nothing
  146.         But informal chitter-chatter.
  147.         Reader! Use it at your peril)
  148.         And the Gods took pity on him
  149.         (Though they quite deplored the language
  150.         Quite deplored the filthy language
  151.         Utilised by Hakawatha)
  152.         Brought about a console failure
  153.         Of some wimp in Economics
  154.         Freed a line so he could use it
  155.         Made his screen display a message;
  156.         "Sorry, we were only joking
  157.         Please log in and type your password
  158.         We'll be with you in a jiffy."
  159.         Thus assuaged did Hakawatha
  160.         Type his login and his password
  161.         Read again the Jeremiads
  162.         Of the manic superuser
  163.         Read his fortune (still not funny)
  164.         And prepared to type his program.
  165.  
  166.  
  167.  
  168.         Part II
  169.  
  170.         Hakawatha's Programming Style
  171.  
  172.  
  173.         Still, alas, my Hakawatha
  174.         Had no notion what to call it
  175.         What to call this wretched program
  176.         So that he'd remember later
  177.         What it did and why he wrote it
  178.         But the dreaded timeout threatened
  179.         So to save himself from bother
  180.         He just called it program7
  181.         (Not a name that had much meaning
  182.         Signifying nearly nothing
  183.         - Though it has the real advantage 
  184.         That it fits in with this metre)
  185.         Meaning to mv it later
  186.         When he'd thought of something better.
  187.         Now the editor he entered
  188.         Hakawatha then typed quickly
  189.         Very, very, very quickly
  190.         Swifter than a third-year student
  191.         Trying to avoid his tutor
  192.         Swifter than a Sun 'reporter'
  193.         On the track of something smutty
  194.         Like an eagle flew his fingers
  195.         Only pausing several moments
  196.         While he taxed his recollection
  197.         For his algorithm's details
  198.         These he knew but only vaguely
  199.         (As the mist that on the sunrise
  200.         Cloak the lofty mountain summit
  201.         As the blur that s-nd-rs printers
  202.         Make instead of underlining
  203.         As the third year students' notion
  204.         Of the proof of Turing's Theorem)
  205.         These deliberations ended
  206.         Hakawatha typed yet faster
  207.         Missing quotes and semicolons
  208.         Missing many closing brackets
  209.         (Comments, these he left for later
  210.         Till he understood the program
  211.         Understood what he'd been doing)
  212.         Confident that the compiler
  213.         Would pick up the syntax errors
  214.         Thus, the program grew like wildfire
  215.         Like the spread of some contagious
  216.         Malady, like AIDS or BASIC
  217.         Or like the British unemployment
  218.         In the reign of M-rg-r-t Th-tch-r.
  219.         Hakawatha typed like fury
  220.         Clatter, clatter went the keyboard
  221.         Like a set of manic dentures
  222.         So the morning, so the lunchtime
  223.         So the afternoon receded
  224.         All receded to oblivion
  225.         Like the superuser's hairline
  226.         When beset by third year students
  227.         All intent to learn his password
  228.         Till at last the stars were twinkling
  229.         Till at last the pubs were open
  230.         Till Security, reminded
  231.         Tapped upon his door and warned him
  232.         "Sorry, sir, but all the late workers
  233.         Have to sign the sign-in book, sir."
  234.         Even then, my Hakawatha
  235.         Hardly heard what he was saying
  236.         Very red and glazed his eyes were
  237.         Cramped and aching were his fingers
  238.         Void and rumbling was his stomach
  239.         Cold and sweaty was his forehead
  240.         Warm and humming was the console
  241.         Like a cow with indigestion
  242.         Thanked Security and told him
  243.         That he'd do it "in a minute"
  244.         That he'd "totally forgotten
  245.         All that bureaucratic nonsense
  246.         In the white-heat of creation"
  247.         Asked to warn him if the building
  248.         Burnt down in the next few minutes
  249.         Thanked him for his "kind attention"
  250.         Then ignoring him completely,
  251.         Turning again and hit the keyboard
  252.         With his swift and able fingers
  253.         Till at last the night lay heavy
  254.         Till at last the pubs were closing
  255.         Till at last the job was finished
  256.  
  257.  
  258.  
  259.         Part III
  260.  
  261.         Hakawatha's Program Testing
  262.  
  263.  
  264.         Next my Hakawatha summoned
  265.         The appropriate compiler
  266.         Asking it to take his program
  267.         And attempt its execution
  268.         Listing any syntax errors -
  269.         Should by any chance there be some -
  270.         In a file that he called "errors"
  271.         (Stunning was the innovation
  272.         Vouchsafed by this choice of naming)
  273.         Asked it please to run in the background
  274.         Swiftly grew the file named "errors"
  275.         Till it seemed to grow much larger
  276.         Than the file called "program7"
  277.         Larger was the file named "errors"
  278.         Larger than the largest mountain
  279.         Larger than the cost of Trident
  280.         Larger than the monstrous ego
  281.         Of that God whom men call D------a
  282.         Larger even than the software
  283.         People call the UNIX mailer
  284.         (Though, perhaps, exaggeration,
  285.         Or that licence named poetic
  286.         Leads me to commit an error
  287.         Since we know the UNIX mailer
  288.         To be bigger and more faulty
  289.         Than the liner named Titanic)
  290.         Worried now grew Hakawatha
  291.         Tried to kill the background process
  292.         Tried to bring it to the foreground
  293.         Tried to say to the compiler
  294.         "That'll do, guv, for the moment"
  295.         All unheedingly the process
  296.         Gobbled bytes like no-one's business
  297.         Till it seemed as though the system
  298.         Would collapse from sheer exhaustion
  299.         From the quantity of page swaps
  300.         Needed by this tireless process.
  301.         Desperate grew Hakawatha
  302.         Vivid, yet again, his curses
  303.         Purpled the attendant shadows.
  304.         Thus the Gods heard Hakawatha
  305.         Listened to the foul language
  306.         Thought that they had better stop it
  307.         Firmly told the UNIX system
  308.         Firmly, to stop all its nonsense
  309.         Firmly, to abort the process.
  310.  
  311.  
  312.  
  313.         Part IV
  314.  
  315.         Hakawatha's Run-Time Error Trapping
  316.  
  317.  
  318.         Now this program had a pointer
  319.         Pointing to a record union
  320.         Pointing sometimes to a REAL
  321.         Or an INTEGER or BOOLEAN
  322.         Pointing sometimes to a pointer
  323.         To ARRAY of FILE of RECORD
  324.         Each of which in turn had pointers
  325.         Each of which, in mad recursion,
  326.         Pointed madly at each other
  327.         (Like a crowd of Sunday tabloids
  328.         Pointing the accusing finger
  329.         At each other's lack of morals
  330.         Like a crowd of left-wing students
  331.         All accusing one another
  332.         Of revisionistic leanings)
  333.         In this mess of pure confusion
  334.         (with what seemed to Hakawatha
  335.         At the time a stroke of genius
  336.         But which now he couldn't clearly
  337.         Understand why he had done it)
  338.         He had placed a simple statement
  339.         Placed a simple looking statement
  340.         Reassigning the first pointer
  341.         To some other, and he couldn't
  342.         Quite remember where he'd put it,
  343.         Couldn't lay his hands upon it,
  344.         Felt that this might be the reason
  345.         Why his program wasn't working
  346.         Wasn't doing what he wanted.
  347.         This occasioned some frustration
  348.         Caused the noble Hakawatha
  349.         To commit profane expletives
  350.         Caused him to cry out "Debug her"
  351.         (Or, I think that's what he shouted).
  352.         "There are easier method, surely
  353.         Methods for the computation
  354.         Computation of the factorial!
  355.         Stuff this for a game of soldiers!
  356.         I am going to the staff club
  357.         For a pint of Tennant's Lager"
  358.         Thus departed Hakawatha.
  359.  
  360.  
  361.  
  362.  
  363. -- 
  364. Duncan Sinclair                     |  Try one    sinclair@cs.glasgow.ac.uk
  365. Computing Science Student           |  of these   sinclair@uk.ac.glasgow.cs
  366. University of Glasgow               |        ...!mcvax!ukc!glasgow!sinclair
  367. Quote: "Apart from that Mrs Lincoln, how did you enjoy the play?"
  368.  
  369.